﻿using System;
using System.Linq;
using ProgramDioptase.ItemTypes;

namespace ProgramDioptase.CatalogItems
{
    public class Movie : RentableItem
    {
        public Movie()
        {
        }

        public override void Initialize(string[] components)
        {
            base.Initialize(components);

            this.IsInStock = components[3].ToLower().Equals("yes") ? true : false;
        }
    }
}